<template>
  <Cron @confirm="onConfirm">
    <Input v-model:value="value" />
  </Cron>
</template>

<script lang="tsx" setup>
import { Input } from 'ant-design-vue';
import { Cron } from '@boeyo/ui';
import { ref } from 'vue';

const value = ref('');
const onConfirm = (e: string) => {
  value.value = e;
};
</script>
